Data storage systems and methods

ABSTRACT

Fault tolerant data storage systems and methods of operating a fault tolerant data storage system are presented. In one aspect of the invention, a fault tolerant data storage system comprises: a plurality of coupled components individually including: an interface adapted to couple with a data connection and to selectively receive a plurality of transactions from the data connection; transaction processing circuitry coupled with the interface and configured to process transactions received from the interface; and analysis circuitry configured to detect error conditions within the transactions and to prevent entry of transactions individually including an error condition into the respective component responsive to the detection.

FIELD OF THE INVENTION

[0001] The invention relates to fault tolerant data storage systems and methods of operating a fault tolerant data storage system.

BACKGROUND OF THE INVENTION

[0002] Redundant array of independent disks (RAID) subsystems have been utilized for a number of years. In fault tolerant RAID subsystems, the primary objective for fault tolerance is not to prevent any type of fault from occurring but rather to continue to operate correctly during the presence of a component fault. There are many different methods for achieving the fault tolerant goals. However, even when these objectives are clearly in front of designers, it is often the case that this fault tolerance objective is not actually achieved.

[0003] For example, depending on the type of fault, some faults are so large that the system must be completely halted (e.g., a fire). Others will be fairly isolated and potentially corrupt the users data stored on the RAID subsystem. Once data is corrupted, it is generally less desirable to pass the corrupted data back to the host and advertise the data as being good. A system that is tolerant of all faults will not pass corrupted data back to the host.

[0004] In the past, fault tolerance was largely viewed as a vehicle to provide robustness and correctness of operation. Fault tolerance becomes very important when considering that the demand for complete data availability is increasing to extreme levels. For example, some systems provide a guaranteed down time of only 5 minutes per year.

[0005] The storage subsystem is just one component of many in some large systems. For example, a RAID subsystem may have an allocation of only 1 minute out of the total 5 minutes for yearly down time. Additionally, the subsystems of the RAID subsystems connected to this large system have to share this remaining 1 minute. It is typically unacceptable to ever allow data to become unavailable from the RAID storage subsystem. Further, the restrictions related to loss of data availability are increasing dramatically over time.

[0006] In conventional arrangements, one could provide fault tolerance and continued operation by halting all operations in the system, initiating a subsystem wide reset, reconfiguring the system to disable the failed component, and resuming operations after the “warm boot” operation. The time required to reboot the system is so long (on the order of a few seconds) that the data availability goals are significantly impacted by the reboot strategy. Such delays may approach unacceptable periods of time.

[0007] Accordingly, there exists a need to provide improved fault tolerant data storage systems and methods of operating fault tolerant data storage systems.

SUMMARY OF THE INVENTION

[0008] The invention provides fault tolerant data storage systems and methods of operating a fault tolerant data storage system.

[0009] In one aspect of the invention, a fault tolerant data storage system comprises: a plurality of coupled components individually including: an interface adapted to couple with a data connection and to selectively receive a plurality of transactions from the data connection; transaction processing circuitry coupled with the interface and configured to process transactions received from the interface; and analysis circuitry configured to detect error conditions within the transactions and to prevent entry of transactions individually including an error condition into the respective component responsive to the detection.

[0010] In another aspect of the invention, a method of operating a fault tolerant data storage system comprises: providing a fault tolerant data storage system including a plurality of components configured to process transactions; providing the transactions for communication to respective components; detecting error conditions within the transactions; and preventing entry of transactions which individually include an error condition into respective components responsive to the detecting.

[0011] Another aspect of the invention provides a method of operating a fault tolerant data storage system comprising: providing a fault tolerant data storage system including a plurality of coupled components configured to process transactions; communicating transactions intermediate coupled components; detecting an error condition within one of the transactions; and isolating the component which outputted the transaction including the error condition responsive to the detecting.

[0012] Other features and advantages of the invention will become apparent to those of ordinary skill in the art upon review of the following detailed description, claims, and drawings.

DESCRIPTION OF THE DRAWINGS

[0013]FIG. 1 is a functional block diagram of hardware subsystems of an exemplary fault tolerant data storage system.

[0014]FIG. 2 is a functional block diagram illustrating further details of exemplary mirror circuitry of the fault tolerant data storage system shown in FIG. 1.

[0015]FIG. 3 is a functional block diagram illustrating exemplary fault domains of an exemplary subsystem of the fault tolerant data storage system.

[0016]FIG. 4 is a functional block diagram illustrating communications intermediate exemplary circuit components of the fault tolerant data storage system.

[0017]FIG. 5 is a state machine diagram illustrating exemplary states of operation during reception of a transaction within a circuit component of the fault tolerant data storage system.

DETAILED DESCRIPTION OF THE INVENTION

[0018] Referring to FIG. 1, exemplary subsystems of a fault tolerant storage system 10 are illustrated. Storage system 10 includes redundant circuit configurations 12 in the described embodiment to provide redundant storage of digital data. Circuit configurations 12 are implemented as redundant separate circuit boards in one exemplary embodiment of the present invention. Storage system 10 continues to operate in the presence of fault domains which occur within storage system 10. Such fault domains and operations of storage system 10 are described in further detail below with respect to FIG. 3.

[0019] As shown, an individual circuit configuration 12 includes a microprocessor 14, input/output processor (IOP) 16, mirror circuitry 18 and storage circuitry 20. Microprocessor 14 monitors and controls operations within a respective circuit configuration 12 in the described arrangement of storage system 10. Input/output processor 16 is typically coupled with one or more external host device, such as a personal computer, workstation, etc. Such external host device is operable to read redundantly stored data from storage system 10, and to write data to storage system 10 for redundant storage.

[0020] Mirror circuitry 18 has access to both storage circuits 20 of the illustrated circuit configurations 12. For example, mirror circuitry 18 of one circuit configuration 12 can access data with respect to a local storage circuit 20 of the given circuit configuration 12 as well as a remote storage circuit 20 located upon the other coupled circuit configuration 12. As used herein, local refers to components within a given circuit configuration 12 while remote refers to components located within the other coupled circuit configuration 12. Mirror circuitry 18 reads and writes data with respect to both storage circuits 20 for redundant operation, or to a single one of storage circuits 20 for other selective operations.

[0021] Storage circuitry 20 of an individual circuit configuration 12 is configured to redundantly store data in combination with storage circuitry 20 of the other circuit configuration 12. Storage system 10 is configured as a redundant array of independent disks (RAID) storage system in the described embodiment. Other configurations of storage system 10 are possible. Exemplary storage circuitry 20 of such a RAID storage system includes dynamic random access memory (DRAM) for temporarily buffering data, and a plurality of hard disks for providing storage of data (DRAM and hard disks are not shown).

[0022] Referring to FIG. 2, further exemplary details of mirror circuitry 18 are illustrated. The depicted mirror circuitry 18 includes a bus interface 22, a bus interface 24 and a memory control 26. Bus interfaces 22, 24 and memory control 26 are typically coupled to exchange data and control operations. Bus interface 22 implements communications with microprocessor 14. Bus interface 24 implements communications with input/output processor 16. Memory control 26 implements addressing and transfer of data with respect to local and remote storage circuits 20. In an exemplary configuration, a common bus 27 couples bus interface 22, bus interface 24 and memory control 26.

[0023] Referring to FIG. 3, exemplary fault domain concepts within storage system 10 are described. FIG. 3 depicts an exemplary subsystem 30 of storage system 10. Subsystem 30 includes a plurality of exemplary components 32, 34, 36, 38. Component 32 includes an internal component 38 as shown. Component 32 is coupled with an component 40 external of subsystem 30 via a bus 42. In the depicted configuration, subsystem 30 is implemented as an application specific integrated circuit (ASIC). Exemplary components 32, 34, 36, 38, 40 include memory components, processing components, input/output components, bus components, etc. Subsystem 30 can comprise any subsystem of storage system 10 such as a microprocessor, input/output processor, mirror circuitry, etc.

[0024] In the following description, components 32, 34, 36, 38, 40 and bus 42 are referred to as respective fault domains. If an error or fault occurs within one fault domain, a neighboring component can detect the occurrence of such error or fault condition as described below. In one exemplary instance, if a fault develops in bus 42, then internal component 32 and external component 40 can detect the failure using logic circuitry in one configuration. One example is a parity error detected on bus 42. Bus 42 may thereafter be identified as corrupt.

[0025] Another exemplary fault domain may be associated with component 38 implemented in a buffer configuration in the described example. In such an example, if data is stored within component 38 and such data is later read and a fault condition or error, such as a parity error, is detected by component 32, then component 38 and the associated data are marked as corrupt and all further data transfers are disabled with respect to component 38. Such disablement operations are described in further detail below.

[0026] Additionally, if component 32 requires reliable operation of component 38 for proper operation, then internal components 34, 36 as well as components coupled with bus 42 may be notified of a fault somewhere within internal component 32.

[0027] In another scenario, it may be assumed that component 40 desires access to component 34 and there may be fault or error conditions determined within component 38. Thereafter, an interface between component 34 and component 32 is disabled responsive to the detection of the error condition. If component 32 requires component 34 to properly complete a transaction, it will terminate a transaction with component 40 with an error condition. Thereafter, the interface intermediate component 40 and internal component 32 is disabled.

[0028] During such activity, it is possible for component 36 to be performing required operations without interfacing with component 32. In such a situation, internal component 36 continues operations without the possibility of spreading the corruption or fault condition contained within component 38. In such a methodology, a corruption in component 38 is not spread to neighboring components.

[0029] Referring again to FIG. 2, responses within hardware to the presence of fault or error conditions are described. If a given component is affected by a fault or error condition, operations with respect to that particular component are halted. Referring to mirror circuitry 18, protocol-checking engines described below reside within bus interface logic 22, 24. For example, if microprocessor 14 decides to read from a memory location that is out of its predefined range, bus interface 22 detects such erroneous operation and disables the interface to microprocessor 14. Such could result from microprocessor 14 executing within a region of corrupted code. However, input/output processor 16, such as an IO processor for fiber channel or SCSI connectivity to a host system, still has access to storage circuitry 20 once the corruption has been detected.

[0030] Referring to FIG. 4, exemplary operations for detecting the presence of error or fault conditions with components, and for implementing corresponding isolation of such faulty components to contain such error or fault conditions locally are described. Isolation of faulty components permits continuation of operation of other non-corrupted components of storage system 10. In preferred aspects of the invention, individual fault components are completely isolated wherein all interfaces coupled with the faulty component are disabled. Such operates to quarantine faulty components. With the use of redundant components, other operations of storage system 10 continue despite the occurrence of the fault.

[0031] Components such as a transaction originating device 50 and transaction receiving device 52 are illustrated in FIG. 4. Such devices 50, 52 represent any two components within storage system 10. Component 52 includes a plurality of internal components as described further below. Devices 50, 52 communicate transactions such as read operations, write operations, etc. As illustrated, a data connection 51 including respective data, address and control buses 61, 63, 65 are utilized between devices 50, 52 to implement communications. The illustrated data connection 51 communicates data information, address information and control information intermediate devices 50, 52.

[0032] In the depicted arrangement, transaction receiving device 52 includes analysis circuitry 53, interface 60 and transaction processing circuitry 62. In one embodiment, analysis circuitry 53 includes parity validation circuitry 54, protocol validation circuitry 56, and enable control logic circuitry 58. Parity validation circuitry 54 determines parity errors within data being communicated via bus 61 and protocol validation circuitry 56 determines errors within control information communicated via bus 65. Other configurations of analysis circuitry 53 are provided in other embodiments. In one exemplary configuration, transaction processing circuitry 62 includes a DRAM memory controller, hard disk controller, or other controller for accessing storage circuitry 20. Other arrangements of transaction processing circuitry 62 are possible.

[0033] Transaction originating device 50 communicates transactions using data connection 51. Interface 60 of transaction receiving device 52 is coupled with data connection 51 to selectively receive a plurality of transactions from data connection 51. Such selective reception operations are described in detail below. Transaction processing circuitry 62 is coupled with interface 60 and such is arranged to process transactions received from interface 60.

[0034] Analysis circuitry 53 comprising parity validation circuitry 54, protocol validation circuitry 56 and enable control logic circuitry 58 detects error conditions within transactions communicating using data connection 51 in the described embodiment. Analysis circuitry 53 controls passage of transactions to interface 60 responsive to the detection of error conditions.

[0035] In particular, analysis circuitry 53 operates to prevent entry of transactions including error conditions into interface 60 of transaction receiving device 52 responsive to the detection of such errors within the respective transactions.

[0036] In the depicted embodiment, analysis circuitry 53 disables interface 60 responsive to the detection of an error condition, such as a parity error and/or a protocol error. Enable control logic circuitry 58 sets an enable bit to control the reception of transactions within interface 60. In one embodiment, enable control logic circuitry 58 operates to de-assert the interface enable signal to prevent the reception of transactions with interface 60. Interface 60 is disabled to isolate transaction receiving device 52 from transaction originating device 50 responsive to the detection of an error condition.

[0037] In some aspects of the invention, such isolation using interface 60 is selective according to the type of error condition as described further below. More specifically, analysis circuitry 53 determines the types of error conditions and selectively permits the entry of some transactions (e.g., “force complete” operations described below) into interface 60 and transaction processing circuitry 62 responsive to the determination of the types of error conditions. For example, force complete operations may be identified by analysis circuitry 53 and allowed entry into interface 60 despite the presence of indicated error conditions. In such an example, control information of the transaction (communicated using the control bus of data connection 51) can include a force complete label which informs analysis circuitry 53 including protocol validation circuitry 56 to disregard the presence of a detected error condition and permit entry of the associated transaction.

[0038] Force complete operations are utilized for various operations with storage system 10. Such operations can implement background operations to scrub contents of storage circuitry 20 enabling repair of respective components. For example, such identifies and enables repair of memory in regions where data is not accessed frequently. Some DRAMs develop single bit errors which can turn into multiple bit errors within a single word if not corrected. Force complete operations permit background operations such as scrubbing to continue operation without resulting in the isolation of components within storage system 10.

[0039] As previously stated, force complete identifications may be utilized within control information communicated using data connection 51. Such indicates that a transaction is specifically related to a background process, for example. Although one component may alert the other component of the presence of the error, the receiving component can continue to process the transaction without isolating the sending component. Accordingly, the primary operation of storage system 10 is not impacted by faults or errors within force complete operations. In sum, force complete operations enable the execution of background operations to make repairs to storage system 10 while such system continues to operate.

[0040] Although not shown in FIG. 4, transaction originating device 50 includes an interface to couple with respective data connection 51 to implement communications between transaction originating device 50 and data connection 51. Similarly, transaction originating device 50 can include appropriate analysis circuitry to selectively prevent entry of transactions into transaction originating device 50.

[0041] According to other embodiments of the present invention, analysis circuitry 53 communicates the detection of error conditions. Data connection 51 is utilized according to some aspects of the invention to communicate the detection of error conditions. For example, protocol validation circuitry 56 can communicate the presence of error conditions to transaction originating device 50 using data connection 51. Accordingly, such analysis circuitry 53 communicates the detection of error conditions to other components such as transaction originating device 50. Additionally, analysis circuitry 53 including enable control logic 58 is utilized in some aspects to communicate the detected error conditions using the interface enable signal which can be additionally communicated outside of transaction receiving device 52.

[0042] Although not shown, devices 50, 52 may be coupled with other components of storage system 10 in other embodiments. Other components coupled with devices 50, 52 also include respective analysis circuitry and interfaces to detect the communication of errors within respective transactions and to isolate such devices from devices communicating transactions including error conditions. Given the provision of redundant components within storage system 10 as shown in FIG. 1, the chances are enhanced and increased of storage system 10 continuing to operate responsive to the failure or occurrence of fault within a given component.

[0043] Components 50, 52 individually include additional interfaces 60 to communicate with other additional components not shown. Following isolation of a component from another component using an appropriate interface, the properly operating component continues to operate with respect to such other properly operating components. For example, such properly operating components continue to process transactions utilizing respective transaction processing circuitry.

[0044] Referring to FIG. 5, a state machine is depicted for processing of read and write transactions within analysis circuitry 53 and interface 60 of a given component of storage system 10. In particular, FIG. 5 illustrates states of interface 60 during such operations with respect to transactions.

[0045] At state S10, interface 60 is idle responsive to the enablement signal from analysis circuitry 53 or a reset condition.

[0046] State S12 represents the reception of a transaction, for example, by an appropriate data connection coupled with interface 60.

[0047] For read operations as indicated by the transaction, interface 60 forwards address data and length information to the associated memory control and storage circuitry coupled within interface 60 at state S14.

[0048] At state S16, interface 60 waits for the reception of read data from the associated memory control and associated storage circuitry.

[0049] At state S18, interface 60 returns data to the associated data connection.

[0050] For write operations, the state of interface 60 proceeds from state S12 to state S20 wherein data to be written is accepted from the appropriate data connection.

[0051] At state S22, interface 60 forwards address information and the associated data to the appropriate storage device. For example, such may implemented using transaction processing circuitry 62 comprising a memory controller or hard disk controller.

[0052] Following states S18, S22, the state of interface 60 returns to the idle state at S10 as long as interface 60 is enabled from analysis circuitry 53.

[0053] Aspects of this invention provide a fault tolerant data storage system 10. The described fault tolerant data storage system 10 provides a host system with increased chances of access to data while one or more component of the storage system 10 experiences a fault or error condition. The configuration and operation of storage system 10 are not altered in order to provide features of the present invention. Further, processor interaction is not required in certain aspects of the invention to maintain storage system operation. Aspects of the invention enable no or minimal loss of data availability as faults occur in numerous situations. Lengthy reconfiguration cycles are avoided. The faults are handled in real time without processor intervention in the disclosed arrangements of the present invention.

[0054] The protection sought is not to be limited to the disclosed embodiments, which are given by way of example only, but instead is to be limited only by the scope of the appended claims. 

What is claimed is:
 1. A fault tolerant data storage system comprising: a plurality of coupled components individually including: an interface adapted to couple with a data connection and to selectively receive a plurality of transactions from the data connection; transaction processing circuitry coupled with the interface and configured to process transactions received from the interface; and analysis circuitry configured to detect error conditions within the transactions and to prevent entry of transactions individually including an error condition into the respective component responsive to the detection.
 2. The system in accordance with claim 1 wherein the analysis circuitry is configured to disable the interface responsive to the detection of the error condition.
 3. The system in accordance with claim 1 wherein the analysis circuitry comprises logic circuitry configured to set an enable signal to control the reception of transactions within the interface.
 4. The system in accordance with claim 1 wherein the analysis circuitry is configured to control passage of the transactions to the interface responsive to the detection of the error conditions.
 5. The system in accordance with claim 1 wherein the analysis circuitry is configured to determine the type of error conditions and permit selective entry of corresponding transactions responsive to the determination.
 6. The system in accordance with claim 1 wherein the interface is adapted to couple with the data connection coupled with an interface of another component.
 7. The system in accordance with claim 1 wherein the analysis circuitry is configured to communicate the detection of the error conditions.
 8. The system in accordance with claim 1 wherein the analysis circuitry of one component is configured to communicate the detection of the error conditions to other components.
 9. A method of operating a fault tolerant data storage system comprising: providing a fault tolerant data storage system including a plurality of components configured to process transactions; providing the transactions for communication to respective components; detecting error conditions within the transactions; and preventing entry of transactions which individually include an error condition into respective components responsive to the detecting.
 10. The method in accordance with claim 9 wherein the preventing entry comprises disabling interfaces of the respective components.
 11. The method in accordance with claim 9 wherein the preventing entry comprises selectively preventing entry of transactions which individually include an error condition into the respective components.
 12. The method in accordance with claim 9 further comprising determining the types of error conditions and wherein the preventing entry comprises selectively preventing entry of transactions responsive to the determining.
 13. The method in accordance with claim 9 further comprising communicating the detecting of the error conditions.
 14. A method of operating a fault tolerant data storage system comprising: providing a fault tolerant data storage system including a plurality of coupled components configure to process transactions; communicating transactions intermediate coupled components; detecting an error condition within one of the transactions; and isolating the component which outputted the transaction including the error condition responsive to the detecting.
 15. The method in accordance with claim 14 wherein the communicating comprises communicating using interfaces of the components.
 16. The method in accordance with claim 15 wherein the isolating comprises disabling the interfaces of the components coupled with the component which communicated the transaction including the error condition.
 17. The method in accordance with claim 14 further comprising communicating the detection of the error condition.
 18. The method in accordance with claim 14 further comprising determining the type of the error condition and wherein the isolating comprises selectively isolating responsive to the determining.
 19. The method in accordance with claim 14 wherein the providing comprises providing a RAID fault tolerant data storage system.
 20. The method in accordance with claim 14 further comprising processing transactions using the components after the isolating. 